package com.ygqh.baby.mapper;
import com.ygqh.baby.po.AdminPermission;
import com.ygqh.baby.po.AdminPermissionExample;
import com.ygqh.baby.ao.QueryInfo;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface AdminPermissionMapper {
    int countByExample(AdminPermissionExample example);

    int deleteByExample(AdminPermissionExample example);

    int deleteByPrimaryKey(Long id);

    int insert(AdminPermission record);

    int insertSelective(AdminPermission record);

    List<AdminPermission> selectByExample(AdminPermissionExample example);

    AdminPermission selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") AdminPermission record, @Param("example") AdminPermissionExample example);

    int updateByExample(@Param("record") AdminPermission record, @Param("example") AdminPermissionExample example);

    int updateByPrimaryKeySelective(AdminPermission record);

    int updateByPrimaryKey(AdminPermission record);
    
    int countSuper(@Param ("q") String q);
    
    List<AdminPermission> selectSuper(@Param("queryInfo") QueryInfo queryInfo, @Param ("q") String q);
    
}



